import instance from "@/tools/axios";

const login = async (data: any): Promise<ResponseApiDto> => {
  return instance.post("/login/adminlogin", data);
};
const getCurrentAdminInfo = async (): Promise<ResponseApiDto> => {
  return instance.get("/login/GetCurrentInfo");
};

//客户转化风云榜
const LoginAsync_phb = async (): Promise<ResponseApiDto> => {
  return instance.get("/login/LoginAsync_phb");
};

export { login, getCurrentAdminInfo, LoginAsync_phb };
